package com.yincai.carefreewater.entity;

import java.util.List;

/**
 * Created by admin on 2017/7/26.
 *
 * 喝水数据
 */


public class DringkWater {


    @Override
    public String toString() {
        return "DringkWater{" +
                "code='" + code + '\'' +
                ", msg='" + msg + '\'' +
                ", version='" + version + '\'' +
                ", result=" + result +
                '}';
    }

    /**
     * code : 100
     * result : [{"id":"1055","quantity":"7","datetime":"2017-08-21 15:38:32","temperature":"0","water_quality":"优","token":"BE62C580-742A-7B54-218D-2F2A45757DD9","bar_code":"E9A678D8-1BA5-8114-3D78-1E8C98FCC99D","cup_num":"4172038","headimg":"/upfiles/images/201708/081248526884.png","today_num":"","today_water":"","today_suggest":"2000","healthy_degree":"100"}]
     * msg : Success
     * version : 1.0.0
     */

    private String code;
    private String msg;
    private String version;
    private List<ResultBean> result;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public List<ResultBean> getResult() {
        return result;
    }

    public void setResult(List<ResultBean> result) {
        this.result = result;
    }

    public static class ResultBean {
        @Override
        public String toString() {
            return "ResultBean{" +
                    "id='" + id + '\'' +
                    ", quantity='" + quantity + '\'' +
                    ", datetime='" + datetime + '\'' +
                    ", temperature='" + temperature + '\'' +
                    ", water_quality='" + water_quality + '\'' +
                    ", token='" + token + '\'' +
                    ", bar_code='" + bar_code + '\'' +
                    ", cup_num='" + cup_num + '\'' +
                    ", headimg='" + headimg + '\'' +
                    ", today_num='" + today_num + '\'' +
                    ", today_water='" + today_water + '\'' +
                    ", today_suggest='" + today_suggest + '\'' +
                    ", healthy_degree='" + healthy_degree + '\'' +
                    '}';
        }

        /**
         * id : 1055
         * quantity : 7
         * datetime : 2017-08-21 15:38:32
         * temperature : 0
         * water_quality : 优
         * token : BE62C580-742A-7B54-218D-2F2A45757DD9
         * bar_code : E9A678D8-1BA5-8114-3D78-1E8C98FCC99D
         * cup_num : 4172038
         * headimg : /upfiles/images/201708/081248526884.png
         * today_num :
         * today_water :
         * today_suggest : 2000
         * healthy_degree : 100
         */

        private String id;
        private String quantity;
        private String datetime;
        private String temperature;
        private String water_quality;
        private String token;
        private String bar_code;
        private String cup_num;
        private String headimg;
        private String today_num;
        private String today_water;
        private String today_suggest;
        private String healthy_degree;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getQuantity() {
            return quantity;
        }

        public void setQuantity(String quantity) {
            this.quantity = quantity;
        }

        public String getDatetime() {
            return datetime;
        }

        public void setDatetime(String datetime) {
            this.datetime = datetime;
        }

        public String getTemperature() {
            return temperature;
        }

        public void setTemperature(String temperature) {
            this.temperature = temperature;
        }

        public String getWater_quality() {
            return water_quality;
        }

        public void setWater_quality(String water_quality) {
            this.water_quality = water_quality;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public String getBar_code() {
            return bar_code;
        }

        public void setBar_code(String bar_code) {
            this.bar_code = bar_code;
        }

        public String getCup_num() {
            return cup_num;
        }

        public void setCup_num(String cup_num) {
            this.cup_num = cup_num;
        }

        public String getHeadimg() {
            return headimg;
        }

        public void setHeadimg(String headimg) {
            this.headimg = headimg;
        }

        public String getToday_num() {
            return today_num;
        }

        public void setToday_num(String today_num) {
            this.today_num = today_num;
        }

        public String getToday_water() {
            return today_water;
        }

        public void setToday_water(String today_water) {
            this.today_water = today_water;
        }

        public String getToday_suggest() {
            return today_suggest;
        }

        public void setToday_suggest(String today_suggest) {
            this.today_suggest = today_suggest;
        }

        public String getHealthy_degree() {
            return healthy_degree;
        }

        public void setHealthy_degree(String healthy_degree) {
            this.healthy_degree = healthy_degree;
        }
    }
}
